/// id : "1689156675713286185"
/// name : "高丽琼"
/// idcard : "142402199903185121"
/// phone : "15235465771"
/// political : "群众"
/// belongTeam : "北斗战队"
/// belongTeamId : "1702604304180043870"
/// roleName : "管理员"
/// attendedInfo : "无"
/// headPhoto : null
/// role : "1"

class OrganizationUserInfoDto {
  OrganizationUserInfoDto({
      String? id, 
      String? name, 
      String? idcard, 
      String? phone, 
      String? political, 
      String? belongTeam, 
      String? belongTeamId, 
      String? roleName, 
      String? attendedInfo, 
      dynamic headPhoto, 
      String? role,}){
    _id = id;
    _name = name;
    _idcard = idcard;
    _phone = phone;
    _political = political;
    _belongTeam = belongTeam;
    _belongTeamId = belongTeamId;
    _roleName = roleName;
    _attendedInfo = attendedInfo;
    _headPhoto = headPhoto;
    _role = role;
}

  OrganizationUserInfoDto.fromJson(dynamic json) {
    _id = json['id'];
    _name = json['name'];
    _idcard = json['idcard'];
    _phone = json['phone'];
    _political = json['political'];
    _belongTeam = json['belongTeam'];
    _belongTeamId = json['belongTeamId'];
    _roleName = json['roleName'];
    _attendedInfo = json['attendedInfo'];
    _headPhoto = json['headPhoto'];
    _role = json['role'];
  }
  String? _id;
  String? _name;
  String? _idcard;
  String? _phone;
  String? _political;
  String? _belongTeam;
  String? _belongTeamId;
  String? _roleName;
  String? _attendedInfo;
  dynamic _headPhoto;
  String? _role;
OrganizationUserInfoDto copyWith({  String? id,
  String? name,
  String? idcard,
  String? phone,
  String? political,
  String? belongTeam,
  String? belongTeamId,
  String? roleName,
  String? attendedInfo,
  dynamic headPhoto,
  String? role,
}) => OrganizationUserInfoDto(  id: id ?? _id,
  name: name ?? _name,
  idcard: idcard ?? _idcard,
  phone: phone ?? _phone,
  political: political ?? _political,
  belongTeam: belongTeam ?? _belongTeam,
  belongTeamId: belongTeamId ?? _belongTeamId,
  roleName: roleName ?? _roleName,
  attendedInfo: attendedInfo ?? _attendedInfo,
  headPhoto: headPhoto ?? _headPhoto,
  role: role ?? _role,
);
  String? get id => _id;
  String? get name => _name;
  String? get idcard => _idcard;
  String? get phone => _phone;
  String? get political => _political;
  String? get belongTeam => _belongTeam;
  String? get belongTeamId => _belongTeamId;
  String? get roleName => _roleName;
  String? get attendedInfo => _attendedInfo;
  dynamic get headPhoto => _headPhoto;
  String? get role => _role;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['name'] = _name;
    map['idcard'] = _idcard;
    map['phone'] = _phone;
    map['political'] = _political;
    map['belongTeam'] = _belongTeam;
    map['belongTeamId'] = _belongTeamId;
    map['roleName'] = _roleName;
    map['attendedInfo'] = _attendedInfo;
    map['headPhoto'] = _headPhoto;
    map['role'] = _role;
    return map;
  }

}